package com.cium.aqie.begin

/**
 * @Function:
 * @Author: aqie
 * @Date: 2019/8/29 17:25
 */
fun main() {
    // 也是表达式
    var text = try {
        val a = "1".toInt()
        val b = "2a".toInt()
        print("$a + $b = ${sum(a, b)}")
    }catch (e: NumberFormatException){
        print(e.message)
        "hello"
    }finally {
        print("程序结束")
    }

    print(text)
}